<?php if($list_image){ ?>
<ul>
	<?php foreach($list_image as $k=>$v){ ?>
	<li <?php if($k==0){ print'style="margin-left: 0;"'; }?>>
		<a class="fancyboxClick" href="<?=PATH_URL.'static/uploads/'.$this->_module.'/'.$v->image?>" rel="gallery"><img alt="" src="<?=resizeImage(PATH_URL.'static/uploads/'.$this->_module.'/'.$v->image,100,100)?>" /></a>
		<div class="action">
			<img onclick="delImage(<?=$v->id?>)" alt="Delete item" src="<?=PATH_URL.'static/images/admin/icons/delete.png'?>" />
		</div>
	</li>
	<?php } ?>
</ul>
<?php 
}else{
	echo '<div style="margin-top: 10px;">No Image.</div>';
}
?>